//
//  RHDevInfoModel.h
//  RuiHeAppApp
//
//  Created by Yan Chen on 2024/5/17.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface PEDevInfoRowModel:NSObject
@property (nonatomic, copy) NSString *title;

@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *unit;

@property (nonatomic, copy) NSString *dataType;

@property (nonatomic, copy) NSString *sn;

//后台返回数据的字段
@property (nonatomic, copy) NSString *key;
@end
@interface RHDevInfoModel : NSObject
@property (nonatomic, copy) NSString *sectionTitle;
//请求index
@property (nonatomic, assign) NSInteger requestId;
//列表图标
@property (nonatomic, copy) NSString *typeIcon;
//详情组图标
@property (nonatomic, copy) NSString *icon;

@property (nonatomic, copy) NSString *infoType;

@property (nonatomic, strong) NSArray <PEDevInfoRowModel*>*rows;

//站点信息返回的是字典,软件信息返回的是数组
-(void)readDeviceInfo:(id)info;
@end

NS_ASSUME_NONNULL_END
